CreateTypedCommand<T>(IDicomCommandClientSessionProxy,long[]) Method

Summary
Generic method for creating a typed command with the provided parameters.
Syntax
C#
C++/CLI
public virtual T CreateTypedCommand<T>( 
   IDicomCommandClientSessionProxy sessionProxy, 
   long[] attributes 
) 
public: 
virtual _T^_ CreateTypedCommandgeneric<typename T> 
(  
   IDicomCommandClientSessionProxy^ sessionProxy, 
   array<int64>^ attributes 
)  
where T: DicomCommand 

Parameters

sessionProxy
The Leadtools.Dicom.Scp.IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.

attributes
The list of attributes which is received with the client request.

Type Parameters

T
The type of the returned DicomCommand. This type should be inherited from a DicomCommand.

Return Value

Returns the created DicomCommand.

Remarks

This method will try to create a DicomCommand with the given generic type. It will also pass the provided  sessionProxy and  attributes to the command constructor.

If the method fails to create the command it will throw an exception.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Scp Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.